const menuItems = [
  { id: 1, label: '首页', path: '/' },
  { id: 2, label: '关于', path: '/about' },
  { id: 3, label: '联系', path: '/contact' },
];

export default function Side() {
  return (
    <aside className="side">
      <nav>
        <ul>
          {menuItems.map(item => (
            <li key={item.id}>
              <a href={item.path} style={{ textDecoration: 'none', color: 'inherit' }}>
                {item.label}
              </a>
            </li>
          ))}
        </ul>
      </nav>
    </aside>
  );
}